import request from '@/utils/request'

// 获取路由
export const getRouters = () => {
  return request({
    url: '/getRouters',
    method: 'get'
  })
}


export const amitaService = {

  querysql: (params) => {
    return request ({
      url: "/amita/query/sql",
      method: 'get',
      params
    })
  },

  runsql: (params) => {
    return request ({
      url: "/amita/run/sql",
      method: 'post',
     
      params
    })
  },



};

